package structures;
import pack.MyReader;

public class NationNumeric extends TypeAbstract{
	
	public static int size = 1;
	
	public final int value;
	public final String nation;
	
	public static String[] nations = {
	};
	
	public NationNumeric(MyReader reader)
	{
		value = reader.readInt();
		String s;
		try{
			s = NationNumeric.nations[this.value];
		}
		catch(Exception e){
			s = "";
		}
		nation = s;
	}
	
	public String toString()
	{
		return nation == "" ? Integer.toString(value) : nation;
	}

}
